import Vue from "vue";
import mavonEditor from "mavon-editor";
import md5 from "js-md5";
import "mavon-editor/dist/css/index.css";

import App from "./App.vue";
import router from "./router";
import store from "./store";
import "./plugins";
import filters from "./filters";
import "@/assets/css/base.css";
import "@/assets/css/normalize.css";

Vue.config.productionTip = false;

Vue.prototype.$md5 = md5;
Vue.use(mavonEditor);

Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key]);
});

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
